using System;

namespace ConcursoCV.UI.Clases
{
	/// <summary>
	/// Summary description for NodeType.
	/// </summary>
	public enum NodeType
	{
		METADATO = 1,
        ANTECEDENTE	
	}
	public class NodeTypeConverter 
	{
		public static int ToInt( NodeType mode ) 
		{
			return (int) mode;
		}
		public static NodeType ToEnum( string strMode ) 
		{
			return (NodeType) int.Parse( strMode );
		}
		public static string ToString( NodeType mode ) 
		{
			return Enum.GetName(typeof(NodeType), mode);
		}
	}
}
